package org.sang.controller;

import org.sang.beans.RespBean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class UserController {


    @RequestMapping("/login_p")
    @ResponseBody
    public RespBean login(){
        return RespBean.error("尚未登陆，请登录！！");
    }
    @GetMapping("/employee/basic/hello")
    @ResponseBody
    public String basicHello(){
        return "basicHello";
    }


}
